package net.gdface.face.Entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.sql.Timestamp;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hewenwen on 2017/11/30.
 *
 * 人脸检测信息数据表,用于保存检测到的人脸的所有信息(特征数据除外)
 *
 */

@Entity
public class fl_face {

    @Id(autoincrement = true)
    private long id;
    private String image_md5;//所属图像id
    /**人脸位置坐标*/
    private int face_left;
    private int face_top;
    private int face_width;
    private int face_height;
    /**眼睛位置*/
    private int eye_leftx;
    private int eye_lefty;
    private int eye_rightx;
    private int eye_righty;
    /**嘴巴位置*/
    private int mouth_x;
    private int mouth_y;
    /**鼻子位置信息*/
    private int nose_x;
    private int nose_y;
    /**人脸角度*/
    private int angle_yaw;
    private int angle_pitch;
    private int angle_roll;
    private byte[] ext_info;//扩展字段,保存人脸检测基本信息之外的其他数据,内容由SDK负责解析
    private String feature_md5;//人脸特征数据MD5
    private String create_time;//创建的时间点
    public String getCreate_time() {
        return this.create_time;
    }
    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }
    public String getFeature_md5() {
        return this.feature_md5;
    }
    public void setFeature_md5(String feature_md5) {
        this.feature_md5 = feature_md5;
    }
    public byte[] getExt_info() {
        return this.ext_info;
    }
    public void setExt_info(byte[] ext_info) {
        this.ext_info = ext_info;
    }
    public int getAngle_roll() {
        return this.angle_roll;
    }
    public void setAngle_roll(int angle_roll) {
        this.angle_roll = angle_roll;
    }
    public int getAngle_pitch() {
        return this.angle_pitch;
    }
    public void setAngle_pitch(int angle_pitch) {
        this.angle_pitch = angle_pitch;
    }
    public int getAngle_yaw() {
        return this.angle_yaw;
    }
    public void setAngle_yaw(int angle_yaw) {
        this.angle_yaw = angle_yaw;
    }
    public int getNose_y() {
        return this.nose_y;
    }
    public void setNose_y(int nose_y) {
        this.nose_y = nose_y;
    }
    public int getNose_x() {
        return this.nose_x;
    }
    public void setNose_x(int nose_x) {
        this.nose_x = nose_x;
    }
    public int getMouth_y() {
        return this.mouth_y;
    }
    public void setMouth_y(int mouth_y) {
        this.mouth_y = mouth_y;
    }
    public int getMouth_x() {
        return this.mouth_x;
    }
    public void setMouth_x(int mouth_x) {
        this.mouth_x = mouth_x;
    }
    public int getEye_righty() {
        return this.eye_righty;
    }
    public void setEye_righty(int eye_righty) {
        this.eye_righty = eye_righty;
    }
    public int getEye_rightx() {
        return this.eye_rightx;
    }
    public void setEye_rightx(int eye_rightx) {
        this.eye_rightx = eye_rightx;
    }
    public int getEye_lefty() {
        return this.eye_lefty;
    }
    public void setEye_lefty(int eye_lefty) {
        this.eye_lefty = eye_lefty;
    }
    public int getEye_leftx() {
        return this.eye_leftx;
    }
    public void setEye_leftx(int eye_leftx) {
        this.eye_leftx = eye_leftx;
    }
    public int getFace_height() {
        return this.face_height;
    }
    public void setFace_height(int face_height) {
        this.face_height = face_height;
    }
    public int getFace_width() {
        return this.face_width;
    }
    public void setFace_width(int face_width) {
        this.face_width = face_width;
    }
    public int getFace_top() {
        return this.face_top;
    }
    public void setFace_top(int face_top) {
        this.face_top = face_top;
    }
    public int getFace_left() {
        return this.face_left;
    }
    public void setFace_left(int face_left) {
        this.face_left = face_left;
    }
    public String getImage_md5() {
        return this.image_md5;
    }
    public void setImage_md5(String image_md5) {
        this.image_md5 = image_md5;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 804326117)
    public fl_face(long id, String image_md5, int face_left, int face_top,
            int face_width, int face_height, int eye_leftx, int eye_lefty,
            int eye_rightx, int eye_righty, int mouth_x, int mouth_y, int nose_x,
            int nose_y, int angle_yaw, int angle_pitch, int angle_roll,
            byte[] ext_info, String feature_md5, String create_time) {
        this.id = id;
        this.image_md5 = image_md5;
        this.face_left = face_left;
        this.face_top = face_top;
        this.face_width = face_width;
        this.face_height = face_height;
        this.eye_leftx = eye_leftx;
        this.eye_lefty = eye_lefty;
        this.eye_rightx = eye_rightx;
        this.eye_righty = eye_righty;
        this.mouth_x = mouth_x;
        this.mouth_y = mouth_y;
        this.nose_x = nose_x;
        this.nose_y = nose_y;
        this.angle_yaw = angle_yaw;
        this.angle_pitch = angle_pitch;
        this.angle_roll = angle_roll;
        this.ext_info = ext_info;
        this.feature_md5 = feature_md5;
        this.create_time = create_time;
    }
    @Generated(hash = 1167863451)
    public fl_face() {
    }


}
